package com.quartz.service;

import org.springframework.stereotype.Service;

import java.text.SimpleDateFormat;
import java.util.Date;

@Service
public class QuartzJob {
	void doJob(){
		SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd");
		System.out.println("QuartzJob1----" + sdf.format(new Date()));
	}
}
